home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ada / gnat1792.zip / gnat179b / t-adainc / s-tasabo.ads < prev    next >
Text File  |  1994-05-19  |  3KB  |  53 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                 GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS               --
  4. --                                                                          --
  5. --               S Y S T E M . T A S K I N G . A B O R T I O N              --
  6. --                                                                          --
  7. --                                  S p e c                                 --
  8. --                                                                          --
  9. --                             $Revision: 1.5 $                             --
  10. --                                                                          --
  11. --           Copyright (c) 1991,1992,1993, FSU, All Rights Reserved         --
  12. --                                                                          --
  13. --  GNARL is free software; you can redistribute it and/or modify it  under --
  14. --  terms  of  the  GNU  Library General Public License as published by the --
  15. --  Free Software Foundation; either version 2, or (at  your  option)  any  --
  16. --  later  version.   GNARL is distributed in the hope that it will be use- --
  17. --  ful, but but WITHOUT ANY WARRANTY; without even the implied warranty of --
  18. --  MERCHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Gen- --
  19. --  eral Library Public License for more details.  You should have received --
  20. --  a  copy of the GNU Library General Public License along with GNARL; see --
  21. --  file COPYING. If not, write to the Free Software Foundation,  675  Mass --
  22. --  Ave, Cambridge, MA 02139, USA.                                          --
  23. --                                                                          --
  24. ------------------------------------------------------------------------------
  25.  
  26. with System.Task_Primitives;
  27. --  Used for,  Task_Primitives.Pre_Call_State
  28.  
  29. package System.Tasking.Abortion is
  30.  
  31.    procedure Abort_Tasks (Tasks : Task_List);
  32.    --  Abort_Tasks is called to initiate abortion, however, the actual
  33.    --  abortion is done by abortee by means of Abort_Handler
  34.  
  35.    procedure Defer_Abortion;
  36. --    pragma Inline (Defer_Abortion); -- why commented out ???
  37.  
  38.    procedure Undefer_Abortion;
  39. --    pragma Inline (Undefer_Abortion); --  why commented out
  40.  
  41.    --   RTS Internal Declarations---Not part of the GNARLI.
  42.  
  43.    procedure Abort_To_Level (Target : Task_ID; L : ATC_Level);
  44.    --  Abort a task to a specified ATC level.
  45.  
  46.    procedure Abort_Handler (Context : Task_Primitives.Pre_Call_State);
  47.    --  Handler to be installed at initialization for special Abort_Signal.
  48.  
  49.    procedure Abort_Dependents (Abortee : Task_ID);
  50.    --  Propagate abortion of parent into children.
  51.  
  52. end System.Tasking.Abortion;
  53.